<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <title>附近乘客</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">

    <link rel="stylesheet" href="/sunfc/css/weui.css">
    <link rel="stylesheet" href="/sunfc/css/jquery-weui.css">
    <link rel="stylesheet" href="/sunfc/css/style.css">

    <style type="text/css">
        .shineiSF{box-shadow:0px 0px  10px 3px #e7e7e7;width:100%;height: 81px;position: fixed;top:0;left: 0;z-index: 100;}
        .index-top{border-bottom:1px solid #f5f5f5;}
        .shunlu{line-height: 40px;position: fixed;top:40px;background: #fff;left:0;width:100%;padding-left: 20px;color: #676767;font-size: 13px;}

    </style>
</head>
<body class="back1">
<div class="shineiSF">
    <div class="index-top">
        <div class="index-back" onClick="javascript:history.back(-1);">
            <img src="/sunfc/images/back.png" width="15">
        </div>

        <p class="index-title">市内：{$where}</p>

        <div class="index-right">
            <a href="{:url('index/sunfc.users/index')}" ><img src="/sunfc/images/user1.png" width="15"></a>
        </div>
    </div>
    <div class="shunlu">{$count}位顺路乘客</div>
</div>




<!-- 这里写内容 -->
<div style="margin-top: 88px;">
</div>

<div class="index-box index-xingchengz">
    <!-- 第一个 -->

    {volist name='last' id='vo'}


    <div class="weui-cells">
        <div class="weui-cell left0">
            <div class="weui-cell__hd">
                <div class="touxiang">
                    <img class="t-photo" src="/sunfc/images/photo.jpg" width="60" height="60">
                    {if  condition="($vo['sex']) eq 2"}
                    <img class="t-icon" src="/sunfc/images/sex2.png" width="15">
                    {else /}
                    <img class="t-icon" src="/sunfc/images/sex1.png" width="15">
                    {/if}
                </div>
            </div>
            <div class="weui-cell__bd pos-tel">
                <p class="f17">{$vo['realname']}</p>
                <p class="xcz-chexing">
                    <span class="xinren">信任值80分</span>
                    <span>{$vo['car_info']}</span>
                </p>
                <div class="pos-tel-abs">
                 <a href="tel:{$vo['tel']}">
                    <img src="/sunfc/images/tel.png" width="30">
                 </a>

                </div>
            </div>
        </div>
        <div class="weui-cell left0">

            <div class="weui-cell__bd xingchengz">

                <div class="weui-cells">
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <img src="/sunfc/images/wait.png" width="8" class="wait">
                        </div>
                        <div class="weui-cell__bd">
                            <p>
                                <span>{$vo['depart_time']}</span>
                                <!--<span class="font1">3人</span>-->
                                <!--<span class="font2">95%顺路</span>-->
                            </p>
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <span class="dian"></span>
                        </div>
                        <div class="weui-cell__bd">
                            <p>
                                <span>{$vo['begin_detail']}</span>
                                <!--<span class="font1">银珠路 7km</span>-->
                            </p>
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <span class="dian2"></span>
                        </div>
                        <div class="weui-cell__bd">
                            <p>
                                <span>{$vo['end_detail']}</span>
                                <!--<span class="font1">湖滨路 3.4km</span>-->
                            </p>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <div class="weui-cell left0">

            <div class="weui-cell__bd">
                <p class="xingchengz-tel">
                    <span class="col1">正在寻找顺风车</span>
                    <a href="javascript:;" id="reserve1" class="telephone" style="padding: 0 16px;">
                        我要接单
                    </a>
                </p>
            </div>
        </div>
    </div>


    {/volist}


</div>




<script src="/sunfc/js/jquery.min.js"></script>
<script src="/sunfc/js/jquery-weui.min.js"></script>
<script>
    $(document).on("click", "#reserve1,#reserve2,#reserve3", function() {
        $.confirm("您确定要接单吗?", "确认接单?", function() {
            //确定操作


            $.toast("已接单!");


        }, function() {
            //取消操作
        });
    });
</script>

</body>
</html>

